<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    /*const map = new Map([[1,"a"],[2,"b"],[3,'c']]);
    console.log(map)*/

    //增
    const map = new Map();
    map.set(1,"a")
    map.set(2,"b")
    map.set(3,"c");
    console.log(map,map.size)

    //删
    /*map.delete(1);
    console.log(map,map.size)
    map.clear()
    console.log(map,map.size)*/

    //查
    console.log(map.get(1))


</script>
</html>